<?php

//中物理技

class DeadEnd extends SingleAttack {

	public function __construct() {
		$this->id = 16;
		$this->name = "デッドエンド";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 20;
		$this->ap = 3;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 30;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

}

class Rebellion extends AllAttack {

	public function __construct() {
		$this->id = 17;
		$this->name = "暴れまくり";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 30;
		$this->ap = 3;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 20;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

}

class WoodCut extends SingleAttack {

	public function __construct() {
		$this->id = 18;
		$this->name = "木っ端みじん斬り";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 30;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被斜劈成两爿。<br>";
	}

	public function attk_desc($a,$b) {
		if($b->cid == 2) {
			CalHelper::spec_talk($this,1,$a->name."愤怒地使出".$this->name."，“可恶的木头，去死吧！”");
		} else {
			$_SESSION['show'] .= $a->name."使出".$this->name."，斩向".$b->name."。<br>";
		}
	}

	public function post_action($a,$b) {
		StatusHelper::str_down_20($b);
	}

}

class ArmorCut extends SingleAttack {

	public function __construct() {
		$this->id = 19;
		$this->name = "剛殺斬";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 30;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."的脑袋被砍了下来。<br>";
	}

	public function post_action($a,$b) {
		StatusHelper::vit_down_20($b);
	}
}

class RedLotusSaber extends AllAttack {

	public function __construct() {
		$this->id = 20;
		$this->name = "紅蓮剣";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 35;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 1;               //附加元素属性，火1冰2雷3地4风5光6暗7
	}
	
	public function attk_desc($a,$b) {
		if($a->cid == 2) {
			$_SESSION['show'] .= "接招！红莲一闪！<br";
		}
		parent::attk_desc($a,$b);
	}
	
}

class SwordDance extends AllAttack {

	public function __construct() {
		$this->id = 21;
		$this->name = "利剣乱舞";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 5;

		$this->pwr = 165;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."挥洒乱剑，向".$b->name."杀去。<br>";
	}
}

class KingKongDestroy extends AllAttack {

	public function __construct() {
		$this->id = 22;
		$this->name = "金剛発破";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 35;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}
	
	public function post_action($a,$b) {
		if(round($a->luk/2) > mt_rand(1,100)) {
			StatusHelper::spd_down_20($b);
		}
	}

}

class ExcellentSword extends AllAttack {

	public function __construct() {
		$this->id = 23;
		$this->name = "絶妙剣";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 45;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

	public function pre_attack($sk,$a,$b) {
		$sk->expwr = CalHelper::hurt_power($sk,$a);
	}
}

class BlackClick extends SingleAttack {

	public function __construct() {
		$this->id = 24;
		$this->name = "黒点撃";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 4;

		$this->pwr = 165;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 20;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(91);

	}

	public function exskset() {
		$this->sp = 30;
		$this->ap = 3;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."的胸口被点穿一个大洞。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."充溢着黑暗力量的指尖朝".$b->name."的心口贯穿而去。<br>";
	}

}

class BlinkSpark extends SingleAttack {

	public function __construct() {
		$this->id = 25;
		$this->name = "電光石火";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(67,80,138);
		$this->exprop = 3;

	}

	public function exskset() {
		$this->sp = 35;
		$this->ap = 3;
	}

}

class SonicPunch extends SingleAttack {

	public function __construct() {
		$this->id = 26;
		$this->name = "ソニックパンチ";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(81);
		$this->exprop = 5;               //附加元素属性，火1冰2雷3地4风5光6暗7

	}

	public function exskset() {
		$this->sp = 25;
		$this->ap = 3;
	}

}

class LionHigh extends SingleAttack {

	public function __construct() {
		$this->id = 27;
		$this->name = "獅子奮迅";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 4;

		$this->pwr = 165;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','spd');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->bodds = 20;
		$this->excid = array(33);
	}

	public function exskset() {
		$this->bodds = 30;
	}
	
	public function post_action($a,$b) {
		if($this->bodds >= mt_rand(1,100)) {
			StatusHelper::down($b);
		}
	}

}

class CrazyCrack extends SingleAttack {

	public function __construct() {
		$this->id = 28;
		$this->name = "狂気の粉砕";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 5;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 4;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->bodds = 20;
		$this->excid = array(52,101,109);
	}

	public function exskset() {
		$this->bodds = 30;
	}

	public function kill_desc($a,$b) {
		if($a->cid == 101 && $b->cid == 2) {
			CalHelper::spec_talk($this,1,$b->name."全身骨骼被蛮力夹爆，哀怨地呻吟着躺在血泊中慢慢死去");
		} else {
			$_SESSION['show'] .= $b->name.'力尽<br>';
		}
	}

	public function post_action($a,$b) {
		StatusHelper::crack_equip($this->bodds,$b);
	}

	public function attk_desc($a,$b) {
		if($a->cid == 105) {
			CalHelper::cgdisplay('gsilver_crack.jpg');
		}
		parent::attk_desc($a,$b);
	}
}

class DarkShadow extends AllAttack {

	public function __construct() {
		$this->id = 29;
		$this->name = "残影";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 45;
		$this->ap = 6;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','spd');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 2;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(68,154);
	}

	public function exskset() {
		$this->sp = 35;
		$this->ap = 5;	
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."左半截身子没了。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."使出".$this->name."，斩向".$b->name."。<br>";
	}
}

class MoonShadow extends SingleAttack {

	public function __construct() {
		$this->id = 30;
		$this->name = "月影";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 45;
		$this->ap = 6;

		$this->pwr = 165;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','spd');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 2;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(56);
	}

	public function exskset() {
		$this->pwr = 170;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."右半截身子没了。<br>";
	}

	public function attk_desc($a,$b) {
		if($a->cid == 56) {
			$_SESSION['show'] .= "为美丽之物所迷惑者，必将被死亡之手所虏获。不知您是否愿与今晚的月色共眠？".$this->name."！";
			CalHelper::cgdisplay('onion_moonsex.jpg');
		}
		$_SESSION['show'] .= $a->name."使出".$this->name."，斩向".$b->name."。<br>";
	}

}

class MillonShoot extends AllAttack {

	public function __construct() {
		$this->id = 31;
		$this->name = "ミリオンシュート";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 45;
		$this->ap = 6;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 2;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->excid = array(4,59);
	}

	public function exskset() {
		$this->mint = 3;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."的眉心被射穿。<br>";
	}

	public function attk_desc($a,$b) {
		if($a->cid == 105) {
			CalHelper::cgdisplay('gsilver_mshoot.jpg');
		}
		$_SESSION['show'] .= $a->name."使出".$this->name."，向".$b->name."射去。<br>";
	}

}

class DarkCrusade extends SingleAttack {

	public function __construct() {
		$this->id = 32;
		$this->name = "闇討ち";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 130;
		$this->ap = 13;

		$this->pwr = 165;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('spd','str');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 1;		//是否贯通
		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exdtype = 8;
		$this->dbase = 40;
		$this->isunique = 1;
	}

	public function arskset() {
		$this->pwr = 185;
		$this->dbase = 50;
	}
	
	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."的脊椎被活活抽掉了。<br>";
	}
}

class LotusCut extends SingleAttack {

	public function __construct() {
		$this->id = 33;
		$this->name = "紅蓮華斬殺";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 140;
		$this->ap = 15;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 15;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 6;		//攻击次数上下限
		$this->mint = 6;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 1;               //附加元素属性，火1冰2雷3地4风5光6暗7
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->maxt = 8;
		$this->mint = 8;
		$this->crt = 25;
	}

	public function post_action($a,$b) {
		StatusHelper::vit_down_20($b);
	}

}

class WindThunder extends SingleAttack {

	public function __construct() {
		$this->id = 34;
		$this->name = "疾風迅雷";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 120;
		$this->ap = 12;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 15;				//会心补正
		$this->dmgfactor = array('spd','str');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 7;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
	}

	public function arskset() {
		$this->mint = 3;
	}
	
	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."只剩下一片片细嫩的削肉。<p>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."使出".$this->name."，风一般地杀向".$b->name."。<br>";
	}

}

class NiceBoatx8 extends AllAttack {

	public function __construct() {
		$this->id = 35;
		$this->name = "八艘飛び";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 180;
		$this->ap = 17;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 10;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 10;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 8;		//攻击次数上下限
		$this->mint = 8;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 180;
		$this->hits = 18;
		$this->crt = 18;
	}

	public function kill_desc($a,$b) {
		if($b->cid == 128) {
			CalHelper::spec_talk($this,2,"不愧是老妹 很出色的一戰");
		} elseif($b->cid == 142) {
			CalHelper::spec_talk($this,4,"我……我想一直在你身旁<br>就算要舍棄我的一切也是……");
			CalHelper::cgdisplay('ming_2.jpg');
		} else {
			$_SESSION['show'] .= "吾乃白 以吾之刃 將世染之<br>吾乃白 誅世之惡 歸無者也<br>";
			CalHelper::cgdisplay('ming_1.jpg');
		}
	}
	
	public function attk_desc($a,$b) {
		if($b->cid == 128) {
			CalHelper::spec_talk($this,1,"你已是個杰出的劍士了 不用全力的話 很失禮吧<br>接下吧 源式奧義 八艘飛び");
			CalHelper::cgdisplay('ming_3.jpg');
		} elseif($b->cid == 142) {
			CalHelper::spec_talk($this,3,"我已經……沒辦法再騙你了<br>誰都不想傷害的戀愛 根本就沒有！");
		} else {
			$_SESSION['show'] .= "器無正邪 术無善惡<br>刀為鏡 吾為刃 斷其曲<br>接招吧 源式奧義 八艘飛び<br>";
			CalHelper::cgdisplay('ming_3.jpg');
		}
	}

}

class BusteAttack extends SingleAttack {

	public function __construct() {
		$this->id = 533;
		$this->name = "バスタアタック";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 30;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

	public function post_action($a,$b) {
		StatusHelper::spd_down_20($b);
	}
	
	public function attk_desc($a,$b) {
		if($a->cid == 1) {
			CalHelper::cgdisplay('teaplum_14.jpg');
			CalHelper::spec_talk($this,2,"以碧之贤帝的名义，赌上这星光的一击！");
		}
		parent::attk_desc($a,$b);
	}
}

class GiantFeste extends SingleAttack {

	public function __construct() {
		$this->id = 534;
		$this->name = "ギガントフィスト";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 30;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

	public function post_action($a,$b) {
		StatusHelper::mgr_down_20($b);
	}

}

class WindBlade extends AllAttack {

	public function __construct() {
		$this->id = 535;
		$this->name = "疾風斬";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 5;

	}
}

class IceBlade extends AllAttack {

	public function __construct() {
		$this->id = 536;
		$this->name = "冰結刃";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 2;

	}
}

class FireBlade extends AllAttack {

	public function __construct() {
		$this->id = 537;
		$this->name = "火炎擊";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 1;

	}
}

class EarthBlade extends AllAttack {

	public function __construct() {
		$this->id = 538;
		$this->name = "地雷斷";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 4;

	}
}

class CriticalStrike extends AllAttack {

	public function __construct() {
		$this->id = 623;
		$this->name = "会心波";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 45;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 25;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 1;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 4;

	}
}


?>
